antlr4=java -jar /usr/local/lib/antlr-4.0-complete.jar
WKDIR=~/workspace/Wezlang/src
grun=java org.antlr.v4.runtime.misc.TestRig
parse: Wezlang.g4
	${antlr4} Wezlang.g4 -package Parser -o ${WKDIR}/Parser


parse_test: Wezlang.g4
	${antlr4} Wezlang.g4 -package Parser -o ${WKDIR}/Parser
	javac ${WKDIR}/Parser/*.java
	for i in ${WKDIR}/../tests/*; do echo $i ; ${grun} Parser.Wezlang prog -gui $i ; done;	
